package com.zhongli.devplatform.po.view;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zhongli.devplatform.enums.SexType;
import lombok.Data;

/**
 * 老师到学校信息视图
 * @author  WuXiCheng
 * @date  2020/8/29 17:02
 * @version 1.0
 */
@Data
@TableName(value = "v_teacher_class_grade_school")
public class ViewTeacherToSchoolPO {
    @TableField(value = "id")
    private Integer id;

    @TableField(value = "category")
    private Integer category;

    @TableField(value = "nick_name")
    private String nickName;

    @TableField(value = "clazz_id")
    private Integer clazzId;

    @TableField(value = "class_name")
    private String className;

    @TableField(value = "grade_id")
    private Integer gradeId;

    @TableField(value = "grade_name")
    private String gradeName;

    @TableField(value = "school_id")
    private Integer schoolId;

    @TableField(value = "school_name")
    private String schoolName;

    @TableField(value = "head_img_url")
    private String headImgUrl;

    @TableField(value = "sex")
    private SexType sex;

    @TableField(value = "age")
    private Integer age;

    @TableField(value = "fans_count")
    private Integer fansCount;

    @TableField(value = "att_count")
    private Integer attCount;

    @TableField(value = "id_card")
    private String idCard;

    @TableField(value = "introduce")
    private String introduce;

    @TableField(value = "phone")
    private String phone;
}
